import { Card } from 'antd'
import './index.scss'

const component = (props) => {
  return (
    <Card
      {...props}
      bordered={false}
      className={`body bg-[rgba(149,147,147,0.4)]! transition-transform duration-0.3s ease ${
        props.hover ? 'hover:scale-[1.05]' : ''
      }`}
    >
      {props.children}
    </Card>
  )
}

export default component
